const express = require("express")
const pool = require("../utils/DBUtils")
var router = express.Router()

router.get("/test", async (req, res) => {
    let { result } = await pool.async.query("SELECT * from `othercountry_all`")
    res.send({
        msg: "测试接口",
        data: result
    })
})

module.exports = router